/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package SynchronizationLayer;

import java.io.Serializable;

/**
 *
 * @author Tomasz Nowak
 */
public class NotarySynchronizationMessage implements Serializable
{
	private NotarySynchronizationMessageType notarySynchronizationMessageType;
	private Object payload;

	public NotarySynchronizationMessageType getNotarySynchronizationMessageType()
	{
		return notarySynchronizationMessageType;
	}

	public void setNotarySynchronizationMessageType( NotarySynchronizationMessageType notarySynchronizationMessageType )
	{
		this.notarySynchronizationMessageType = notarySynchronizationMessageType;
	}

	public Object getPayload()
	{
		return payload;
	}

	public void setPayload( Object payload )
	{
		this.payload = payload;
	}

	public NotarySynchronizationMessage( NotarySynchronizationMessageType notarySynchronizationMessageType, Object payload )
	{
		this.notarySynchronizationMessageType = notarySynchronizationMessageType;
		this.payload = payload;
	}

}
